#ifndef TIME_H_
#define TIME_H_

#include <util/delay_basic.h>
#include <avr/io.h>

/**
 * include the globals which contain the FREQ constant which is used
 * by several functions declared in the time library.
 */
#include "globals.h"

/**
 * Invokes a delay with used-defined length
 * @author david dot asabina at gmail dot com
 * @param iterations the count of iterations within the delay loop
 * @return void
 */
void delay(uint16_t iterations);

void delayms(uint16_t ms);

#endif
